home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn((((3333XXXX)))) NNNNAAAAMMMMEEEE XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn - Data type for the direction of widget components SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS #include <Xm/Xm.h> VVVVEEEERRRRSSSSIIIIOOOONNNN This page documents Motif 2.1. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn is the data type specifying the direction in which the system displays subwidgets, children of widgets, or other visual components that are to be laid out. This data type also affects traversal order within tab groups. XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn is implemented as an unsigned char bit mask. The horizontal and vertical directions can be specified independent of each other. XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn also specifies the precedence of the horizontal and vertical directions relative to each other. For example, a value of XXXXmmmmRRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT____TTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM lays out a component horizontally from right to left first, then vertically top to bottom. XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn provides the following masks, each of which corresponds to a particular bit in XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn: +o XXXXmmmmRRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT____MMMMAAAASSSSKKKK +o XXXXmmmmLLLLEEEEFFFFTTTT____TTTTOOOO____RRRRIIIIGGGGHHHHTTTT____MMMMAAAASSSSKKKK +o XXXXmmmmTTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM____MMMMAAAASSSSKKKK +o XXXXmmmmBBBBOOOOTTTTTTTTOOOOMMMM____TTTTOOOO____TTTTOOOOPPPP____MMMMAAAASSSSKKKK +o XXXXmmmmPPPPRRRREEEECCCCEEEEDDDDEEEENNNNCCCCEEEE____HHHHOOOORRRRIIIIZZZZ____MMMMAAAASSSSKKKK +o XXXXmmmmPPPPRRRREEEECCCCEEEEDDDDEEEENNNNCCCCEEEE____VVVVEEEERRRRTTTT____MMMMAAAASSSSKKKK In addition to the preceding single bit masks, XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnalso provides the following multiple bit masks. These multiple bit masks are particularly useful as arguments to XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnMMMMaaaattttcccchhhhPPPPaaaarrrrttttiiiiaaaallll: +o XXXXmmmmHHHHOOOORRRRIIIIZZZZOOOONNNNTTTTAAAALLLL____MMMMAAAASSSSKKKK +o XXXXmmmmPPPPRRRREEEECCCCEEEEDDDDEEEENNNNCCCCEEEE____MMMMAAAASSSSKKKK +o XXXXmmmmVVVVEEEERRRRTTTTIIIICCCCAAAALLLL____MMMMAAAASSSSKKKK Motif also provides the following enumerated constants for Page 1 (printed 10/3/02) XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn((((3333XXXX)))) specifying various combinations of directions: XXXXmmmmRRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT____TTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM Specifies that the components are laid out from right to left first, then top to bottom. XXXXmmmmLLLLEEEEFFFFTTTT____TTTTOOOO____RRRRIIIIGGGGHHHHTTTT____TTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM Specifies that the components are laid out from left to right first, then top to bottom. XXXXmmmmRRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT____BBBBOOOOTTTTTTTTOOOOMMMM____TTTTOOOO____TTTTOOOOPPPP Specifies that the components are laid out from right to left first, then bottom to top. XXXXmmmmLLLLEEEEFFFFTTTT____TTTTOOOO____RRRRIIIIGGGGHHHHTTTT____BBBBOOOOTTTTTTTTOOOOMMMM____TTTTOOOO____TTTTOOOOPPPP Specifies that the components are laid out from left to right first, then bottom to top. XXXXmmmmTTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM____RRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT Specifies that the components are laid out from top to bottom first, then right to left. XXXXmmmmTTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM____LLLLEEEEFFFFTTTT____TTTTOOOO____RRRRIIIIGGGGHHHHTTTT Specifies that the components are laid out from top to bottom first, then left to right. XXXXmmmmBBBBOOOOTTTTTTTTOOOOMMMM____TTTTOOOO____TTTTOOOOPPPP____RRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT Specifies that the components are laid out from bottom to top first, then right to left. XXXXmmmmBBBBOOOOTTTTTTTTOOOOMMMM____TTTTOOOO____TTTTOOOOPPPP____LLLLEEEEFFFFTTTT____TTTTOOOO____RRRRIIIIGGGGHHHHTTTT Specifies that the components are laid out from bottom to top first, then left to right. XXXXmmmmTTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM Specifies that the components are laid out from top to bottom. If horizontal direction is important, do not use this constant. XXXXmmmmBBBBOOOOTTTTTTTTOOOOMMMM____TTTTOOOO____TTTTOOOOPPPP Specifies that the components are laid out from bottom to top. If horizontal direction is important, do not use this constant. XXXXmmmmDDDDEEEEFFFFAAAAUUUULLLLTTTT____DDDDIIIIRRRREEEECCCCTTTTIIIIOOOONNNN Specifies that the components are laid out according to the default direction. (This constant is primarily for widget writers.) XXXXmmmmLLLLEEEEFFFFTTTT____TTTTOOOO____RRRRIIIIGGGGHHHHTTTT Specifies that the components are laid out from left to right. If vertical direction is Page 2 (printed 10/3/02) XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn((((3333XXXX)))) important, do not use this constant. XXXXmmmmRRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT Specifies that the components are laid out from right to left. If vertical direction is important, do not use this constant. RRRREEEELLLLAAAATTTTEEEEDDDD XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnMMMMaaaattttcccchhhh(3), XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnMMMMaaaattttcccchhhhPPPPaaaarrrrttttiiiiaaaallll(3), XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnTTTTooooSSSSttttrrrriiiinnnnggggDDDDiiiirrrreeeeccccttttiiiioooonnnn(3), XXXXmmmmSSSSttttrrrriiiinnnngggg(3), XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDiiiirrrreeeeccccttttiiiioooonnnn(3), and XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDiiiirrrreeeeccccttttiiiioooonnnnTTTTooooDDDDiiiirrrreeeeccccttttiiiioooonnnn(3). Page 3 (printed 10/3/02)